package com.second.app.thread.reentrant.conditionmorecorrect;

/**
 * @author gyz
 * @date 2021/2/2 10:01
 */
public class ThreadB  extends  Thread{
    private MyService myService;

    public ThreadB(MyService myService){
        this.myService =myService;
    }

    @Override
    public void run() {
        myService.awaitB();
    }
}
